<template>
  <div id="app">
    <Ckeditor4 v-model="content" :value="content" @input="ckeditorChange"></Ckeditor4>
  </div>
</template>

<script>
import Ckeditor4 from './components/ckeditor'

export default {
  name: 'App',
  components: {
    Ckeditor4
  },
  data(){
    return {
      content:"<p style='color:red'>324324</p>"
    }
  },
  methods:{
    ckeditorChange(value) {
      console.log(value)
      this.content = value
    },
  }
}
</script>

